Versions:

  • 0.4.3
  • 0.4.2
  • 0.4.1
  • 0.4.0
  • 0.3.6
  • 0.3.5
  • 0.3.4
  • 0.3.3
  • 0.3.2
  • 0.3.1
  • 0.3.0
  • 0.2.8
  • 0.2.7
  • 0.2.6
  • 0.2.5
  • 0.2.4

ghtkn by Shunsuke Suzuki is a command-line tool that creates short-lived GitHub App User Access Tokens for secure local development. The tokens are valid for eight hours. Using a token that expires quickly instead of a long-lived personal access token limits the damage if a credential leaks from a developer machine, which is the security purpose behind the tool. ghtkn belongs to the category of developer tools and security utilities for GitHub. Typical use cases include authenticating command-line tools and scripts that call the GitHub API during local work, replacing personal access tokens stored in configuration files or environment variables and following organisational rules that discourage long-lived credentials. Developers and platform teams who work with GitHub from the terminal are the intended users. The current version is 0.4.3, and several versions are available in the catalog.

Tags: